function getParam(){
  // 获取地址栏参数
  var search = location.search;
  search = decodeURI(search)
  search = search.slice(1);
  search = search.split("&");
  var obj = {};
  var key,value;
  search.forEach(function(v,i){
    key = v.split("=")[0];
    value = v.split("=")[1];
    obj[key] = value;
  })
  return obj;
}